<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>
<%@ page
	import="com.google.appengine.api.users.UserServiceFactory,com.google.appengine.api.users.UserService,com.google.appengine.api.users.User,java.security.Principal"%>


<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>XMPP Play</title>
</head>

<body>
	<h1>XMPP Play</h1>
	<h2>send an invitation to chat</h2>
	<form method="get" action="/send-invitation">
		recipient: <input type="text" name="recipient"/></br>
		<input type="submit" value="send"/>	
	</form>
	<h2>send a message</h2>
	<form method="get" action="/send-message">
		recipient: <input type="text" name="recipient"/></br>
		message: <input type="text" name="message"/></br>
		<input type="submit" value="send"/>
	</form>
	<p>Incoming messages and errors are logged</p>
</body>
</html>
